| Total Complexity | 60 | 
| Dependencies | 0 | 
| Dependents | 1 | 
| Total lines | 255 | 
| Lines of code | 141 | 
| Logical lines of code | 84 | 
| Comment lines | 70 | 
| Methods | 14 | 
| Properties | 0 | 
| Method | Rating | Maintainability | Complexity | Lines of code | 
|---|---|---|---|---|
| render_product_badge() | 47 | 11 | 35 | |
| product_badge_loop_item() | 61 | 12 | 10 | |
| badge_html() | 55 | 4 | 17 | |
| is_fire_ajax_request() | 67 | 5 | 7 | |
| badges_list() | 63 | 5 | 10 | |
| product_badges() | 61 | 4 | 12 | |
| __construct() | 58 | 3 | 15 | |
| handle_category_condition() | 65 | 4 | 8 | |
| is_excluded() | 66 | 3 | 8 | |
| handle_selected_product_condition() | 72 | 3 | 5 | |
| handle_out_of_product_condition() | 73 | 3 | 5 | |
| template_loop_product_thumbnail_before() | 82 | 1 | 3 | |
| template_loop_product_thumbnail_after() | 82 | 1 | 3 | |
| product_badge_single_product() | 81 | 1 | 3 |